<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <title>统一支付</title>
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <link rel="stylesheet" href="/lobsteruiframe/weui/css/weui.css" />
    <link rel="stylesheet" href="/lobsteruiframe/weui/css/weuix.css" />
    <script src="/lobsteruiframe/weui/js/zepto.min.js"></script>
    <script src="/lobsteruiframe/weui/js/zepto.weui.js"></script>
    <script src="/lobsteruiframe/weui/js/swipe.js"></script>
    <script src="/lobsteruiframe/weui/js/macy.js"></script>
    <script src="/jslib/lobster.js"></script>
    <script src="/jslib/template-web.js"></script>

    <script src="js/pay.js"></script>
</head>

<body>
    <div class="weui-pay">
        <div style="text-align: center;">支付剩余时间：<span id="time">00:00</span></div>
        <h1 class="weui-payselect-title" id="body1"></h1>
        <p class="weui-pay-num">￥<span id="price"></span></p>
        <div class="weui-cells weui-cells_radio" id="paytypelist">


        </div> 
        <div class="pay-div">
            <a href="javascript:;" class="weui-btn weui-btn_primary" id="pay">立即支付</a>
        </div>

        <div id="debug"></div>
    </div>
</body>
<script type="text/template" id="paytypelisttemp">
    {{each list}} 
     
    <label class="weui-cell weui-check__label" for="{{$value.PaymentId}}">
        <div class="weui-cell__bd"> 
            <p>{{$value.Memo}}
               <span>{{$value.Balance}}</span>
            </p> 
        </div>
        <div class="weui-cell__ft">
            {{if(orderInfo.PayType==$value.PayType)}}
            <input class="weui-check" name="radio1" id="{{$value.PaymentId}}" value="{{$value.PayType}}" checked="checked"  type="radio">
            {{else}}
            <input class="weui-check" name="radio1" id="{{$value.PaymentId}}"  value="{{$value.PayType}}"  type="radio">
            {{/if}}
            <span class="weui-icon-checked"></span>
        </div>
    </label>  
    {{/each}}
</script>

</html>